package org.example.service;

import org.example.pojo.domain.Artifact;
import org.example.pojo.domain.ArtifactShow;

import java.util.List;

public interface ArtifactService {
    List<Artifact> listArtifacts();
    Artifact getArtifactById(Integer artifactId);
    void addArtifact(Artifact artifact);
    void updateArtifact(Artifact artifact);
    void deleteArtifact(Integer artifactId);
    List<Artifact> listByPage(Integer size,Integer page);
    void addShow(ArtifactShow artifactShow);

    List<Artifact> listAvailableArtifacts();
    void approveById(Integer id);
    List<ArtifactShow> listBorrow();
}


